home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-09-22 | 4.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
| |
33%
| TrID
| Adobe PhotoShop Brush
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 28 00 00 00 00 00 00 | 00 28 61 32 36 30 00 00 |.(......|.(a260..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0e 4b 65 79 45 71 | 75 69 76 46 69 6c 74 65 |...KeyEq|uivFilte|
|00000060| 72 00 00 06 00 00 00 00 | 00 a8 00 00 00 00 00 00 |r.......|........|
|00000070| 00 a8 00 00 00 14 03 c1 | 00 28 05 7e 00 ff 00 00 |........|.(.~....|
|00000080| 00 00 00 00 0f a8 00 00 | 00 00 4e 1c 00 00 00 09 |........|..N.....|
|00000090| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|000000a0| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 10 6b |........|.....@.k|
|000000b0| 53 63 72 65 65 6e 41 50 | 49 2f 31 39 39 39 36 00 |ScreenAP|I/19996.|
|000000c0| 06 47 65 6e 65 76 61 00 | 00 4e 70 61 73 63 61 6c |.Geneva.|.Npascal|
|000000d0| 20 42 6f 6f 6c 65 61 6e | 20 4b 65 79 45 71 75 69 | Boolean| KeyEqui|
|000000e0| 76 46 69 6c 74 65 72 28 | 44 69 61 6c 6f 67 50 74 |vFilter(|DialogPt|
|000000f0| 72 20 64 6c 67 2c 20 45 | 76 65 6e 74 52 65 63 6f |r dlg, E|ventReco|
|00000100| 72 64 20 2a 65 76 65 6e | 74 2c 20 73 68 6f 72 74 |rd *even|t, short|
|00000110| 20 2a 69 74 65 6d 29 3b | 00 00 00 06 00 00 00 00 | *item);|........|
|00000120| 00 93 00 00 00 00 00 00 | 00 93 00 00 00 00 03 c1 |........|........|
|00000130| 00 14 05 7e 00 ff 00 00 | 00 00 00 00 0f a8 00 00 |...~....|........|
|00000140| 00 00 4e 1d 00 00 00 09 | 00 00 00 04 00 04 ff fc |..N.....|........|
|00000150| ff fa 00 04 00 04 ff fc | ff fc 00 00 00 00 00 00 |........|........|
|00000160| 00 00 83 00 0b 40 14 6b | 53 63 72 65 65 6e 4f 6e |.....@.k|ScreenOn|
|00000170| 65 4c 69 6e 65 2f 31 39 | 39 39 37 00 06 47 65 6e |eLine/19|997..Gen|
|00000180| 65 76 61 00 00 35 41 6c | 6c 6f 77 73 20 79 6f 75 |eva..5Al|lows you|
|00000190| 20 74 6f 20 61 73 73 69 | 67 6e 20 6b 65 79 20 65 | to assi|gn key e|
|000001a0| 71 75 69 76 61 6c 65 6e | 74 73 20 74 6f 20 64 69 |quivalen|ts to di|
|000001b0| 61 6c 6f 67 20 69 74 65 | 6d 73 2e 00 00 00 06 00 |alog ite|ms......|
|000001c0| 00 00 00 00 44 00 00 00 | 00 00 00 00 44 00 00 00 |....D...|....D...|
|000001d0| 00 02 6b 04 40 02 6c 01 | 00 00 00 00 00 00 01 0f |..k.@.l.|........|
|000001e0| f1 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 06 00 00 00 00 00 | 6b 00 00 00 00 00 00 00 |........|k.......|
|00000220| 6b 00 00 00 00 02 6b 02 | 28 03 c1 00 ff 00 00 00 |k.....k.|(.......|
|00000230| 00 00 00 0f a8 00 00 00 | 00 4e 16 00 00 00 09 00 |........|.N......|
|00000240| 00 00 04 00 04 ff fc ff | fa 00 04 00 04 ff fc ff |........|........|
|00000250| fc 00 00 00 00 00 00 00 | 00 83 00 0b 40 0b 6c 69 |........|....@.li|
|00000260| 6e 6b 73 2f 31 39 39 39 | 30 00 06 4d 6f 6e 61 63 |nks/1999|0..Monac|
|00000270| 6f 00 00 00 00 16 00 01 | 00 00 00 00 00 10 00 0c |o.......|........|
|00000280| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 06 00 00 |........|........|
|00000290| 00 00 0d d8 00 00 00 00 | 00 00 0d d8 00 00 00 00 |........|........|
|000002a0| 00 00 75 30 02 6b 01 ff | 00 00 00 00 00 00 0f a8 |..u0.k..|........|
|000002b0| 00 00 00 00 4e 1f 00 00 | 00 09 00 00 00 04 00 04 |....N...|........|
|000002c0| ff fc ff fa 00 04 00 04 | ff fc ff fc 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 83 00 0b 40 | 0a 62 6f 64 79 2f 31 39 |.......@|.body/19|
|000002e0| 39 39 39 00 06 4d 6f 6e | 61 63 6f 00 0d 6e 70 61 |999..Mon|aco..npa|
|000002f0| 73 63 61 6c 20 42 6f 6f | 6c 65 61 6e 20 4b 65 79 |scal Boo|lean Key|
|00000300| 45 71 75 69 76 46 69 6c | 74 65 72 28 44 69 61 6c |EquivFil|ter(Dial|
|00000310| 6f 67 50 74 72 20 64 6c | 67 2c 20 45 76 65 6e 74 |ogPtr dl|g, Event|
|00000320| 52 65 63 6f 72 64 20 2a | 65 76 65 6e 74 2c 20 73 |Record *|event, s|
|00000330| 68 6f 72 74 20 2a 69 74 | 65 6d 29 3b 0d 0d 20 20 |hort *it|em);.. |
|00000340| 20 20 46 69 6c 65 3a 20 | 55 74 69 6c 69 74 69 65 | File: |Utilitie|
|00000350| 73 2e 68 0d 0d 49 4e 50 | 55 54 3a 20 20 64 6c 67 |s.h..INP|UT: dlg|
|00000360| 20 20 20 20 20 20 20 20 | 20 54 68 65 20 64 69 61 | | The dia|
|00000370| 6c 6f 67 20 74 68 65 20 | 65 76 65 6e 74 20 69 73 |log the |event is|
|00000380| 20 66 6f 72 2e 0d 20 20 | 20 20 20 20 20 20 65 76 | for.. | ev|
|00000390| 65 6e 74 20 20 20 20 20 | 20 20 54 68 65 20 65 76 |ent | The ev|
|000003a0| 65 6e 74 20 74 6f 20 66 | 69 6c 74 65 72 2e 0d 49 |ent to f|ilter..I|
|000003b0| 4e 2f 4f 55 54 3a 20 69 | 74 65 6d 20 20 20 20 20 |N/OUT: i|tem |
|000003c0| 20 20 20 54 68 65 20 69 | 74 65 6d 20 72 65 6c 61 | The i|tem rela|
|000003d0| 74 65 64 20 74 6f 20 74 | 68 65 20 65 76 65 6e 74 |ted to t|he event|
|000003e0| 2f 66 69 6c 74 65 72 2e | 0d 52 45 53 55 4c 54 3a |/filter.|.RESULT:|
|000003f0| 20 42 6f 6f 6c 65 61 6e | 20 20 20 20 20 53 61 6d | Boolean| Sam|
|00000400| 65 20 72 65 74 75 72 6e | 20 72 65 73 75 6c 74 20 |e return| result |
|00000410| 61 73 20 61 6e 20 41 6c | 65 72 74 20 66 69 6c 74 |as an Al|ert filt|
|00000420| 65 72 2e 0d 0d 54 68 65 | 20 6b 65 79 20 65 71 75 |er...The| key equ|
|00000430| 69 76 61 6c 65 6e 74 20 | 66 69 6c 74 65 72 20 61 |ivalent |filter a|
|00000440| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 61 73 73 |llows yo|u to ass|
|00000450| 69 67 6e 20 6b 65 79 20 | 65 71 75 69 76 61 6c 65 |ign key |equivale|
|00000460| 6e 74 73 20 74 6f 20 64 | 69 61 6c 6f 67 20 69 74 |nts to d|ialog it|
|00000470| 65 6d 73 2e 20 20 45 61 | 63 68 20 69 74 65 6d 20 |ems. Ea|ch item |
|00000480| 63 61 6e 0d 68 61 76 65 | 20 61 73 20 6d 61 6e 79 |can.have| as many|
|00000490| 20 6b 65 79 20 65 71 75 | 69 76 61 6c 65 6e 74 73 | key equ|ivalents|
|000004a0| 20 61 73 20 79 6f 75 20 | 77 69 73 68 2e 20 20 59 | as you |wish. Y|
|000004b0| 6f 75 20 63 61 6e 20 61 | 6c 73 6f 20 73 70 65 63 |ou can a|lso spec|
|000004c0| 69 66 79 20 74 68 65 20 | 65 78 61 63 74 20 73 74 |ify the |exact st|
|000004d0| 61 74 65 20 6f 66 20 74 | 68 65 20 6d 6f 64 69 66 |ate of t|he modif|
|000004e0| 69 65 72 73 0d 74 68 61 | 74 20 79 6f 75 20 77 69 |iers.tha|t you wi|
|000004f0| 6c 6c 20 6f 72 20 77 6f | 6e 27 74 20 61 6c 6c 6f |ll or wo|n't allo|
|00000500| 77 2e 20 20 54 68 65 20 | 6b 65 79 20 65 71 75 69 |w. The |key equi|
|00000510| 76 61 6c 65 6e 74 20 69 | 6e 66 6f 72 6d 61 74 69 |valent i|nformati|
|00000520| 6f 6e 20 69 73 20 73 74 | 6f 72 65 64 20 69 6e 20 |on is st|ored in |
|00000530| 74 68 65 20 72 65 73 6f | 75 72 63 65 20 66 6f 72 |the reso|urce for|
|00000540| 6b 2c 20 73 6f 0d 74 68 | 65 20 6b 65 79 20 65 71 |k, so.th|e key eq|
|00000550| 75 69 76 61 6c 65 6e 74 | 73 20 63 61 6e 20 62 65 |uivalent|s can be|
|00000560| 20 65 61 73 69 6c 79 20 | 6c 6f 63 61 6c 69 7a 65 | easily |localize|
|00000570| 64 2e 0d 54 68 69 73 20 | 63 6f 64 65 20 65 78 70 |d..This |code exp|
|00000580| 65 63 74 73 20 74 68 65 | 20 6b 65 79 20 65 71 75 |ects the| key equ|
|00000590| 69 76 61 6c 65 6e 74 73 | 20 74 6f 20 62 65 20 69 |ivalents| to be i|
|000005a0| 6e 20 69 74 65 6d 20 23 | 32 2c 20 77 68 69 63 68 |n item #|2, which|
|000005b0| 20 69 73 20 61 20 53 74 | 61 74 54 65 78 74 20 69 | is a St|atText i|
|000005c0| 74 65 6d 20 74 68 61 74 | 20 69 73 20 6c 6f 63 61 |tem that| is loca|
|000005d0| 74 65 64 0d 73 6f 20 74 | 68 65 20 74 65 78 74 20 |ted.so t|he text |
|000005e0| 69 73 20 6f 75 74 73 69 | 64 65 20 6f 66 20 74 68 |is outsi|de of th|
|000005f0| 65 20 64 69 61 6c 6f 67 | 2e 20 20 54 68 69 73 20 |e dialog|. This |
|00000600| 61 6c 6c 6f 77 73 20 75 | 73 20 74 6f 20 70 75 74 |allows u|s to put|
|00000610| 20 6b 65 79 20 65 71 75 | 69 76 61 6c 65 6e 74 20 | key equ|ivalent |
|00000620| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 6e 20 74 |informat|ion in t|
|00000630| 68 65 0d 72 65 73 6f 75 | 72 63 65 20 66 6f 72 6b |he.resou|rce fork|
|00000640| 2c 20 73 6f 20 74 68 65 | 20 6b 65 79 20 65 71 75 |, so the| key equ|
|00000650| 69 76 61 6c 65 6e 74 73 | 20 61 72 65 20 6c 6f 63 |ivalents| are loc|
|00000660| 61 6c 69 7a 61 62 6c 65 | 2e 0d 0d 41 6e 20 65 78 |alizable|...An ex|
|00000670| 61 6d 70 6c 65 20 73 61 | 76 65 20 63 68 61 6e 67 |ample sa|ve chang|
|00000680| 65 73 20 62 65 66 6f 72 | 65 20 63 6c 6f 73 69 6e |es befor|e closin|
|00000690| 67 20 6f 72 20 71 75 69 | 74 74 69 6e 67 20 72 65 |g or qui|tting re|
|000006a0| 73 20 73 6f 75 72 63 65 | 20 77 69 74 68 20 6b 65 |s source| with ke|
|000006b0| 79 45 71 75 69 76 20 69 | 6e 66 6f 20 77 6f 75 6c |yEquiv i|nfo woul|
|000006c0| 64 20 6c 6f 6f 6b 20 6c | 69 6b 65 3a 0d 0d 72 65 |d look l|ike:..re|
|000006d0| 73 6f 75 72 63 65 20 27 | 44 49 54 4c 27 20 28 72 |source '|DITL' (r|
|000006e0| 59 65 73 4e 6f 43 61 6e | 63 65 6c 2c 20 70 75 72 |YesNoCan|cel, pur|
|000006f0| 67 65 61 62 6c 65 29 20 | 7b 0d 20 20 20 20 7b 0d |geable) |{. {.|
|00000700| 20 20 20 20 20 20 20 20 | 7b 37 31 2c 20 33 31 35 | |{71, 315|
|00000710| 2c 20 39 31 2c 20 33 36 | 37 7d 2c 20 42 75 74 74 |, 91, 36|7}, Butt|
|00000720| 6f 6e 20 20 20 20 20 7b | 20 65 6e 61 62 6c 65 64 |on {| enabled|
|00000730| 2c 20 22 53 61 76 65 22 | 20 7d 2c 0d 20 20 20 20 |, "Save"| },. |
|00000740| 20 20 20 20 7b 30 2c 20 | 2d 31 30 30 30 2c 20 32 | {0, |-1000, 2|
|00000750| 30 2c 20 32 7d 2c 20 20 | 53 74 61 74 69 63 54 65 |0, 2}, |StaticTe|
|00000760| 78 74 20 7b 20 64 69 73 | 61 62 6c 65 64 2c 0d 20 |xt { dis|abled,. |
|00000770| 20 20 20 20 20 20 20 20 | 20 20 20 22 3d 53 31 39 | | "=S19|
|00000780| 30 30 30 31 2c 3d 73 31 | 39 30 30 30 31 2c 3d 44 |0001,=s1|90001,=D|
|00000790| 31 39 30 30 30 33 2c 3d | 64 31 39 30 30 30 33 2c |190003,=|d190003,|
|000007a0| 3d 2e 31 39 30 31 30 34 | 2c 31 42 31 39 30 30 30 |=.190104|,1B19000|
|000007b0| 34 22 20 7d 2c 0d 20 20 | 20 20 20 20 20 20 7b 37 |4" },. | {7|
|000007c0| 31 2c 20 38 30 2c 20 39 | 31 2c 20 31 36 32 7d 2c |1, 80, 9|1, 162},|
|000007d0| 20 20 42 75 74 74 6f 6e | 20 7b 20 65 6e 61 62 6c | Button| { enabl|
|000007e0| 65 64 2c 20 22 44 6f 6e | d5 74 20 53 61 76 65 22 |ed, "Don|.t Save"|
|000007f0| 20 7d 2c 0d 20 20 20 20 | 20 20 20 20 7b 37 31 2c | },. | {71,|
|00000800| 20 32 34 34 2c 20 39 31 | 2c 20 33 30 32 7d 2c 20 | 244, 91|, 302}, |
|00000810| 42 75 74 74 6f 6e 20 7b | 20 65 6e 61 62 6c 65 64 |Button {| enabled|
|00000820| 2c 20 22 43 61 6e 63 65 | 6c 22 20 7d 2c 0d 20 20 |, "Cance|l" },. |
|00000830| 20 20 20 20 20 20 7b 31 | 31 2c 20 37 38 2c 20 36 | {1|1, 78, 6|
|00000840| 31 2c 20 33 36 36 7d 2c | 20 20 53 74 61 74 69 63 |1, 366},| Static|
|00000850| 54 65 78 74 20 7b 20 64 | 69 73 61 62 6c 65 64 2c |Text { d|isabled,|
|00000860| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 22 53 61 |. | "Sa|
|00000870| 76 65 20 63 68 61 6e 67 | 65 73 20 74 6f 20 74 68 |ve chang|es to th|
|00000880| 65 20 64 6f 63 75 6d 65 | 6e 74 20 d2 5e 30 d3 20 |e docume|nt .^0. |
|00000890| 62 65 66 6f 72 65 20 5e | 31 3f 22 20 7d 2c 0d 20 |before ^|1?" },. |
|000008a0| 20 20 20 20 20 20 20 7b | 31 31 2c 20 32 33 2c 20 | {|11, 23, |
|000008b0| 34 33 2c 20 35 35 7d 2c | 20 20 20 20 20 20 20 20 |43, 55},| |
|000008c0| 49 63 6f 6e 20 7b 20 64 | 69 73 61 62 6c 65 64 2c |Icon { d|isabled,|
|000008d0| 20 32 20 7d 0d 20 20 20 | 20 7d 0d 7d 3b 0d 54 68 | 2 }. | }.};.Th|
|000008e0| 65 20 64 6f 63 75 6d 65 | 6e 74 20 6e 61 6d 65 20 |e docume|nt name |
|000008f0| 77 6f 75 6c 64 20 62 65 | 20 74 68 65 20 73 74 72 |would be| the str|
|00000900| 69 6e 67 20 66 6f 72 20 | 70 61 72 61 6d 20 23 30 |ing for |param #0|
|00000910| 2e 0d 54 68 65 20 74 65 | 78 74 20 22 63 6c 6f 73 |..The te|xt "clos|
|00000920| 69 6e 67 22 20 6f 72 20 | 22 71 75 69 74 74 69 6e |ing" or |"quittin|
|00000930| 67 22 20 77 6f 75 6c 64 | 20 62 65 20 74 68 65 20 |g" would| be the |
|00000940| 73 74 72 69 6e 67 20 66 | 6f 72 20 70 61 72 61 6d |string f|or param|
|00000950| 20 23 31 2e 0d 0d 54 68 | 65 20 6b 65 79 45 71 75 | #1...Th|e keyEqu|
|00000960| 69 76 20 65 6e 74 72 79 | 20 69 73 20 69 74 65 6d |iv entry| is item|
|00000970| 20 23 32 2c 20 77 68 69 | 63 68 20 68 61 73 20 61 | #2, whi|ch has a|
|00000980| 20 72 65 63 74 20 74 68 | 61 74 20 70 75 73 68 65 | rect th|at pushe|
|00000990| 73 20 69 74 20 6f 75 74 | 20 6f 66 20 74 68 65 20 |s it out| of the |
|000009a0| 64 69 61 6c 6f 67 2e 20 | 20 54 68 65 20 73 74 72 |dialog. | The str|
|000009b0| 69 6e 67 0d 69 6e 66 6f | 20 69 73 20 69 6e 74 65 |ing.info| is inte|
|000009c0| 72 70 72 65 74 65 64 20 | 61 73 20 74 6f 20 77 68 |rpreted |as to wh|
|000009d0| 61 74 20 74 68 65 20 6b | 65 79 2f 6d 6f 64 69 66 |at the k|ey/modif|
|000009e0| 69 65 72 20 63 6f 6d 62 | 6f 20 69 73 2c 20 61 6e |ier comb|o is, an|
|000009f0| 64 20 77 68 61 74 20 64 | 69 61 6c 6f 67 20 69 74 |d what d|ialog it|
|00000a00| 65 6d 20 69 74 20 72 65 | 6c 61 74 65 73 20 74 6f |em it re|lates to|
|00000a10| 2e 0d 0d 41 20 73 69 6e | 67 6c 65 20 6b 65 79 20 |...A sin|gle key |
|00000a20| 65 71 75 69 76 20 65 6e | 74 72 79 20 69 73 20 38 |equiv en|try is 8|
|00000a30| 20 63 68 61 72 61 63 74 | 65 72 73 2e 20 20 45 6e | charact|ers. En|
|00000a40| 74 72 69 65 73 20 61 72 | 65 20 73 65 70 61 72 61 |tries ar|e separa|
|00000a50| 74 65 64 20 62 79 20 63 | 6f 6d 6d 61 73 2e 0d 0d |ted by c|ommas...|
|00000a60| 49 66 20 74 68 65 20 66 | 69 72 73 74 20 63 68 61 |If the f|irst cha|
|00000a70| 72 61 63 74 65 72 20 6f | 66 20 61 6e 20 65 6e 74 |racter o|f an ent|
|00000a80| 72 79 20 69 73 20 61 6e | 20 3d 2c 20 74 68 65 6e |ry is an| =, then|
|00000a90| 20 74 68 65 20 6e 65 78 | 74 20 63 68 61 72 61 63 | the nex|t charac|
|00000aa0| 74 65 72 20 69 73 20 74 | 68 65 20 6b 65 79 2e 20 |ter is t|he key. |
|00000ab0| 20 49 66 20 74 68 65 20 | 66 69 72 73 74 0d 63 68 | If the |first.ch|
|00000ac0| 61 72 61 63 74 65 72 20 | 69 73 6e 27 74 20 61 6e |aracter |isn't an|
|00000ad0| 20 3d 2c 20 74 68 65 6e | 20 74 68 65 20 66 69 72 | =, then| the fir|
|00000ae0| 73 74 20 74 77 6f 20 63 | 68 61 72 61 63 74 65 72 |st two c|haracter|
|00000af0| 73 20 61 72 65 20 74 68 | 65 20 68 65 78 20 76 61 |s are th|e hex va|
|00000b00| 6c 75 65 20 6f 66 20 74 | 68 65 20 6b 65 79 2e 0d |lue of t|he key..|
|00000b10| 28 45 78 3a 20 20 3d 53 | 20 6f 72 20 3d 73 20 66 |(Ex: =S| or =s f|
|00000b20| 6f 72 20 73 61 76 65 2c | 20 31 42 20 66 6f 72 20 |or save,| 1B for |
|00000b30| 45 53 43 2e 29 0d 0d 49 | 66 20 74 68 65 20 6b 65 |ESC.)..I|f the ke|
|00000b40| 79 20 70 72 65 73 73 65 | 64 20 69 73 20 74 68 65 |y presse|d is the|
|00000b50| 20 73 61 6d 65 20 61 73 | 20 74 68 65 20 6b 65 79 | same as| the key|
|00000b60| 20 76 61 6c 75 65 20 66 | 6f 72 20 61 6e 79 20 6f | value f|or any o|
|00000b70| 66 20 74 68 65 20 65 6e | 74 72 69 65 73 2c 20 74 |f the en|tries, t|
|00000b80| 68 65 6e 20 74 68 65 20 | 6e 65 78 74 20 74 77 6f |hen the |next two|
|00000b90| 0d 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 20 |.charact|ers are |
|00000ba0| 74 68 65 20 68 65 78 20 | 76 61 6c 75 65 20 66 6f |the hex |value fo|
|00000bb0| 72 20 77 68 69 63 68 20 | 6d 6f 64 69 66 69 65 72 |r which |modifier|
|00000bc0| 73 20 74 6f 20 74 65 73 | 74 2e 20 20 54 68 69 73 |s to tes|t. This|
|00000bd0| 20 6d 6f 64 69 66 69 65 | 72 20 74 65 73 74 20 76 | modifie|r test v|
|00000be0| 61 6c 75 65 20 69 73 20 | 61 6e 64 65 64 0d 77 69 |alue is |anded.wi|
|00000bf0| 74 68 20 74 68 65 20 6d | 6f 64 69 66 69 65 72 2e |th the m|odifier.|
|00000c00| 20 20 54 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 | The re|sult is |
|00000c10| 74 68 65 6e 20 63 6f 6d | 70 61 72 65 64 20 74 6f |then com|pared to|
|00000c20| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00000c30| 65 20 6e 65 78 74 20 74 | 77 6f 20 68 65 78 20 64 |e next t|wo hex d|
|00000c40| 69 67 69 74 73 2e 0d 49 | 66 20 74 68 65 79 20 61 |igits..I|f they a|
|00000c50| 72 65 20 65 71 75 61 6c | 2c 20 74 68 65 6e 20 74 |re equal|, then t|
|00000c60| 68 65 20 6d 6f 64 69 66 | 69 65 72 73 20 61 72 65 |he modif|iers are|
|00000c70| 20 63 6f 72 72 65 63 74 | 2c 20 61 73 20 77 65 6c | correct|, as wel|
|00000c80| 6c 20 61 73 20 74 68 65 | 20 6b 65 79 2e 20 20 49 |l as the| key. I|
|00000c90| 66 20 74 68 69 73 20 69 | 73 20 73 6f 2c 0d 77 65 |f this i|s so,.we|
|00000ca0| 20 68 61 76 65 20 61 20 | 77 69 6e 6e 65 72 2e 0d | have a |winner..|
|00000cb0| 0d 22 3d 53 31 39 30 30 | 30 31 2c 3d 73 31 39 30 |."=S1900|01,=s190|
|00000cc0| 30 30 31 2c 3d 44 31 39 | 30 30 30 33 2c 3d 64 31 |001,=D19|0003,=d1|
|00000cd0| 39 30 30 30 33 2c 3d 2e | 31 39 30 31 30 34 2c 31 |90003,=.|190104,1|
|00000ce0| 42 31 39 30 30 30 34 22 | 0d 0d 54 68 65 20 61 62 |B190004"|..The ab|
|00000cf0| 6f 76 65 20 73 74 72 69 | 6e 67 20 62 72 65 61 6b |ove stri|ng break|
|00000d00| 73 20 64 6f 77 6e 20 61 | 73 20 66 6f 6c 6c 6f 77 |s down a|s follow|
|00000d10| 73 3a 0d 3d 53 31 39 30 | 30 30 31 20 20 3d 53 20 |s:.=S190|001 =S |
|00000d20| 20 69 66 20 65 76 65 6e | 74 20 6b 65 79 70 72 65 | if even|t keypre|
|00000d30| 73 73 20 69 73 20 61 6e | 20 53 2c 20 63 68 65 63 |ss is an| S, chec|
|00000d40| 6b 20 74 68 65 20 6d 6f | 64 69 66 69 65 72 20 76 |k the mo|difier v|
|00000d50| 61 6c 75 65 73 0d 20 20 | 20 20 20 20 20 20 20 20 |alues. | |
|00000d60| 31 39 20 20 63 68 65 63 | 6b 20 63 6f 6e 74 72 6f |19 chec|k contro|
|00000d70| 6c 4b 65 79 2f 6f 70 74 | 69 6f 6e 4b 65 79 2f 63 |lKey/opt|ionKey/c|
|00000d80| 6d 64 4b 65 79 0d 20 20 | 20 20 20 20 20 20 20 20 |mdKey. | |
|00000d90| 30 30 20 20 61 6c 6c 20 | 6d 6f 64 69 66 69 65 72 |00 all |modifier|
|00000da0| 73 20 77 65 20 61 72 65 | 20 74 65 73 74 69 6e 67 |s we are| testing|
|00000db0| 20 66 6f 72 20 73 68 6f | 75 6c 64 20 62 65 20 66 | for sho|uld be f|
|00000dc0| 61 6c 73 65 0d 20 20 20 | 20 20 20 20 20 20 20 30 |alse. | 0|
|00000dd0| 31 20 20 69 66 20 61 62 | 6f 76 65 20 69 73 20 74 |1 if ab|ove is t|
|00000de0| 72 75 65 2c 20 6b 65 79 | 70 72 65 73 73 20 6d 61 |rue, key|press ma|
|00000df0| 70 73 20 74 6f 20 69 74 | 65 6d 20 23 20 31 0d 3d |ps to it|em # 1.=|
|00000e00| 73 31 39 30 30 30 31 20 | 20 53 61 6d 65 20 61 73 |s190001 | Same as|
|00000e10| 20 3d 53 2c 20 62 75 74 | 20 6c 6f 77 65 72 63 61 | =S, but| lowerca|
|00000e20| 73 65 0d 3d 44 31 39 30 | 30 30 31 20 20 53 61 6d |se.=D190|001 Sam|
|00000e30| 65 20 61 73 20 3d 53 2c | 20 62 75 74 20 6d 61 70 |e as =S,| but map|
|00000e40| 73 20 74 6f 20 69 74 65 | 6d 20 23 33 0d 3d 64 31 |s to ite|m #3.=d1|
|00000e50| 39 30 30 30 31 20 20 53 | 61 6d 65 20 61 73 20 3d |90001 S|ame as =|
|00000e60| 44 2c 20 62 75 74 20 6c | 6f 77 65 72 63 61 73 65 |D, but l|owercase|
|00000e70| 0d 3d 2e 31 39 30 31 30 | 34 20 20 3d 2e 20 20 69 |.=.19010|4 =. i|
|00000e80| 66 20 65 76 65 6e 74 20 | 6b 65 79 70 72 65 73 73 |f event |keypress|
|00000e90| 20 69 73 20 61 20 70 65 | 72 69 6f 64 2c 20 63 68 | is a pe|riod, ch|
|00000ea0| 65 63 6b 20 74 68 65 20 | 6d 6f 64 69 66 69 65 72 |eck the |modifier|
|00000eb0| 20 76 61 6c 75 65 73 0d | 20 20 20 20 20 20 20 20 | values.| |
|00000ec0| 20 20 31 39 20 20 63 68 | 65 63 6b 20 63 6f 6e 74 | 19 ch|eck cont|
|00000ed0| 72 6f 6c 4b 65 79 2f 6f | 70 74 69 6f 6e 4b 65 79 |rolKey/o|ptionKey|
|00000ee0| 2f 63 6d 64 4b 65 79 0d | 20 20 20 20 20 20 20 20 |/cmdKey.| |
|00000ef0| 20 20 30 31 20 20 63 6f | 6e 74 72 6f 6c 4b 65 79 | 01 co|ntrolKey|
|00000f00| 2f 6f 70 74 69 6f 6e 4b | 65 79 20 73 68 6f 75 6c |/optionK|ey shoul|
|00000f10| 64 20 62 65 20 66 61 6c | 73 65 2c 20 63 6d 64 4b |d be fal|se, cmdK|
|00000f20| 65 79 20 73 68 6f 75 6c | 64 20 62 65 20 74 72 75 |ey shoul|d be tru|
|00000f30| 65 0d 20 20 20 20 20 20 | 20 20 20 20 30 34 20 20 |e. | 04 |
|00000f40| 69 66 20 61 62 6f 76 65 | 20 69 73 20 74 72 75 65 |if above| is true|
|00000f50| 2c 20 6b 65 79 70 72 65 | 73 73 20 6d 61 70 73 20 |, keypre|ss maps |
|00000f60| 74 6f 20 69 74 65 6d 20 | 23 20 34 0d 31 42 31 39 |to item |# 4.1B19|
|00000f70| 30 30 30 34 20 20 31 42 | 20 20 69 66 20 65 76 65 |0004 1B| if eve|
|00000f80| 6e 74 20 6b 65 79 70 72 | 65 73 73 20 69 73 20 61 |nt keypr|ess is a|
|00000f90| 6e 20 45 53 43 2c 20 63 | 68 65 63 6b 20 74 68 65 |n ESC, c|heck the|
|00000fa0| 20 6d 6f 64 69 66 69 65 | 72 20 76 61 6c 75 65 73 | modifie|r values|
|00000fb0| 0d 20 20 20 20 20 20 20 | 20 20 20 31 39 20 20 63 |. | 19 c|
|00000fc0| 68 65 63 6b 20 63 6f 6e | 74 72 6f 6c 4b 65 79 2f |heck con|trolKey/|
|00000fd0| 6f 70 74 69 6f 6e 4b 65 | 79 2f 63 6d 64 4b 65 79 |optionKe|y/cmdKey|
|00000fe0| 0d 20 20 20 20 20 20 20 | 20 20 20 30 30 20 20 61 |. | 00 a|
|00000ff0| 6c 6c 20 6d 6f 64 69 66 | 69 65 72 73 20 77 65 20 |ll modif|iers we |
|00001000| 61 72 65 20 74 65 73 74 | 69 6e 67 20 66 6f 72 20 |are test|ing for |
|00001010| 73 68 6f 75 6c 64 20 62 | 65 20 66 61 6c 73 65 0d |should b|e false.|
|00001020| 20 20 20 20 20 20 20 20 | 20 20 30 34 20 20 69 66 | | 04 if|
|00001030| 20 61 62 6f 76 65 20 69 | 73 20 74 72 75 65 2c 20 | above i|s true, |
|00001040| 6b 65 79 70 72 65 73 73 | 20 6d 61 70 73 20 74 6f |keypress| maps to|
|00001050| 20 69 74 65 6d 20 23 20 | 34 0d 0d 0d 00 16 00 01 | item # |4.......|
|00001060| 00 00 00 00 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00001070| 00 00 00 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+